const findComponentUpward = (context, componentName= ["LowcodeForm",
    "lowcode_form",
    "lowcode_view",
    "LowcodeView",]) => {
    let parent = context.$parent
    let name = parent.$options.name
    while (parent && (!name || componentName.indexOf(name) < 0)) {
      parent = parent.$parent
      if (parent) name = parent.$options.name
    }
    return parent
  }
export {
    findComponentUpward
}